package three3;

public class Feeder {
	private String name;
	
	public Feeder(){
	}
	public Feeder(String name){
		this.name=name;
	}
	
	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name=name;
	}
	public static void feedAnimals(Animal []ans){
		for(int i=0;i<ans.length;i++){
			ans[i].eat();
		}
	}
}
